package com.woniu.model.medicalService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 体检订单表
 * </p>
 *
 * @author 西瓜
 * @since 2023-10-18
 */
@Getter
@Setter
  @TableName("ms_test_order")
@ApiModel(value = "TestOrder对象", description = "体检订单表")
public class TestOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("体检订单表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("订单编号")
      private String number;

      @ApiModelProperty("订单金额")
      private Long amount;

      @ApiModelProperty("下单时间")
      private Date orderDate;

      @ApiModelProperty("支付时间")
      private Date payDate;

      @ApiModelProperty("订单状态")
      private Integer status;

      @ApiModelProperty("用户id(外键)")
      private Long msUserId;

      @ApiModelProperty("体检套餐id(外键)")
      private Long msTestPackageId;

      @ApiModelProperty("体检机构id(外键)")
      private Long msTestInstitutionId;

      @ApiModelProperty("体检报告id(外键)")
      private Long msMedicalReportId;


}
